package cn.vc.shop.entity.po;

import lombok.Data;

import java.sql.Timestamp;

/**
 * <h1>订单</h1>
 */
@Data
public class OrderForGoods {
    private Long id;//ID以及订单号
    private Long userId;//用户ID
    private Long commodityId;//商品ID
    private String commodityName;// 商品名称
    private Integer num;//商品数量
    private Integer unitPrice;// 单价
    private Integer totalPrice;// 总价
    private Timestamp setTime = new Timestamp(System.currentTimeMillis());//创建时间
}
